package com.mytest.provider.mg.pojo;

import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;


/**
 * @Author: llq
 * @Date: 2020/5/7
 */
@Document
@Data
@Accessors(chain = true)
public class UserMg implements Serializable {

    @Id
    private Long id;

    /**
     * 用户名称
     */
    private String username;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 用户昵称
     */
    private String nickName;


}
